/**
 * 
 */
package com.wm.service;

import java.util.List;

import com.wm.bean.Area;
import com.wm.bean.City;
import com.wm.bean.ResMenu;
import com.wm.service.web.PageList;
import com.wm.service.web.Pages;

/**
 * @author zhangbaochao
 *
 */
public interface ResMenuService {
	
	/**
	 * 添加
	 * @param r
	 * @return
	 */
	public ResMenu saveResMenu(ResMenu r);
	
	/**
	 * 修改
	 * @param r
	 * @return
	 */
	public ResMenu updateResMenu(ResMenu r);
	
	/**
	 * 删除
	 * @param r
	 */
	public void removeResMenuById(long id);
	
	/**
	 * 根据ID查询
	 * @param id
	 * @return
	 */
	public ResMenu findResMenuById(long id);
	
	/**
	 * 根据参数获取Area对象列表
	 * 
	 * @param menuName
	 * @param typeId
	 * @param isShow
	 * @param orderby
	 * @param ascOrDesc
	 * @param pages
	 * @return PageList
	 * 			PageList
	 */
	public PageList findResMenus(long resId,String menuName,long typeId,int price,int isShow,String orderby,int ascOrDesc,Pages pages);
	
	/**
	 * 根据店铺Id以及菜单分类表查询菜单
	 * @param resId
	 * @return
	 */
	public List findResMenuResMenuTypeByResId(long resId);
}
